/*
 * @Author: zw
 * @Date: 2022-04-16 22:44:09
 * @LastEditors: Zhang Wei
 * @LastEditTime: 2022-04-18 00:25:08
 * @FilePath: \02_tank\src\config.ts
 * @Description:
 */

import straw from './static/images/straw/straw.png';
import wall from './static/images/wall/wall.gif';
import water from './static/images/water/water.gif';
import steel from './static/images/wall/steels.gif';

// 坦克图片
import tankTop from './static/images/tank/top.gif';
import tankRight from './static/images/tank/right.gif';
import tankBottom from './static/images/tank/bottom.gif';
import tankLeft from './static/images/tank/left.gif';

export default {
  // 坦克运动的速度
  timeOut: 20,

  canvas: {
    width: 900,
    height: 600,
  },
  module: {
    width: 30,
    height: 30,
  },

  // 草地相关
  straw: {
    num: 120,
  },

  // 墙壁相关
  wall: {
    num: 10,
  },

  // 水相关
  water: {
    num: 20,
  },

  // 金属
  steel: {
    num: 30,
  },

  // 坦克
  tank: {
    num: 20,
  },

  images: {
    straw,
    wall,
    water,
    steel,
    tankTop,
    tankRight,
    tankBottom,
    tankLeft,
  },
};
